﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VoL.Domain.Infrastructure;
using VoL.Domain.IServices.HealthEducation;
using VOL.Core.Utilities;
using VOL.Entity.DomainModels;

namespace VoL.Domain.Services.HealthEducation
{
    public class BroadLogService : IBroadLogService
    {
        private readonly IBaseRepository<Sys_QuartzLog> _quartzLogRepoairoey;
        public BroadLogService(IBaseRepository<Sys_QuartzLog> quartzLogRepoairoey)
        {
            _quartzLogRepoairoey = quartzLogRepoairoey;
        }

        public async Task<WebResponseContent> GetBroadLogList()
        {
            var list = _quartzLogRepoairoey.GetAll();
            var reponse = WebResponseContent.Instance.OK("查询成功",list);
            return reponse;
        }
    }
}
